#!/bin/sh
mvn clean install

mvn clean package

scp ./engine-admin/target/engine-admin-1.0-SNAPSHOT.jar developer@cpu001.revai.cn:/ssd/hujing/java/

ssh developer@cpu001.revai.cn "cd /ssd/hujing/java/rev-engine && git pull"

echo "进入cpu001重启服务"
echo "tmux a -t rev-engine-admin"

# 启动服务
# java -jar ./engine-admin/target/engine-admin-1.0-SNAPSHOT.jar --spring.config.additional-location=./config/